package com.helint.component.encryption.prop;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

/**
 * @author: junjun
 * @date: 2022/2/26 23:28
 * @description: 配置
 */
@Data
@Component
@ConfigurationProperties(prefix = "rsa.encrypt")
public class RsaProperties {
    /**
     * 拦截处理功能开关 默认关闭
     */
    private Boolean enable = false;

    /**
     * 密钥
     */
    private String aesKey ;

    /**
     * 放行urls
     */
    private List<String> ignoreUrls = new ArrayList<>();
}
